package com.ytclub.auth.api;

import com.ytclub.auth.entity.AuthUserDTO;
import com.ytclub.auth.entity.Result;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestHeader;
import org.springframework.web.bind.annotation.RequestMapping;

/**
 * 用户服务feign接口类
 *
 * @author: HuangQi
 * @date: Created in 10:45 2024/4/18
 * @description: 用户服务feign
 */
@FeignClient(name = "yt-club-auth-dev")
public interface UserFeignService {

    @RequestMapping("/user/getUserInfo")
    public Result<AuthUserDTO> getUserInfo(@RequestBody AuthUserDTO authUserDTO);
}
